package com.wenli.graduate2022.wenliGreenShop.service.servImpl;

import com.wenli.graduate2022.wenliGreenShop.entity.Address;
import com.wenli.graduate2022.wenliGreenShop.repository.mapper.AddressMapper;
import com.wenli.graduate2022.wenliGreenShop.service.servDao.AddressService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author HuangHai
 * @date 2021/10/7 18:10
 */
@Service
public class AddressServImpl implements AddressService {
    @Autowired
    private AddressMapper addressMapper;

    @Override
    public Address findById(String id) {
        return addressMapper.findById(id);
    }
}
